<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
        let App = getApp();
        export default {
                data() {
                        return {
                            src:'',
							adminid:""
                        }
                },
                onLoad(e) {
						this.adminid=e.admin
						// this.setuserinfo()
                        this.src = "https://pool.bailuyun.net/tvbox/agreement"+this.adminid+".html"
                },
                methods: {
                    setuserinfo(){
                    	uni.showLoading({
                    		title:"加载中"
                    	})
						
						uni.request({
							url:'https://api.bailuyun.net/pool/cloud_account/contract',
							data: {
								sys: this.adminid,
							},
							success: (res) => {
								this.src = res.data.url
								uni.hideLoading()
							}
						})
                    	
                    },   
                }
        }
</script>

<style>

</style>
